package com.seh.contentcenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seh.contentcenter.entity.Reply;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReplyMapper extends BaseMapper<Reply> {
    /**
     * 查询指定帖子的回帖列表
     * @param postId 帖子ID
     * @return 回帖列表
     */
    List<Reply> listByPostId(@Param("postId") Long postId);
}
